.PHONY:all
all:tcpserver tcpclient

tcpserver:server.cc
	g++ -o $@ $^ -std=c++17 -ljsoncpp
tcpclient:client.cc
	g++ -o $@ $^ -std=c++17 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f tcpserver tcpclient